package com.qxbb.report.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.qxbb.report.utils.CustomDoubleSerialize;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class InventoryCategoryVO {

    /**
     * 类别id
     */
    private Integer categoryId;


    /**
     * 类别名称
     */
    private String categoryName;

    /**
     * 库存数量
     */
    private Integer quantity;

    /**
     * 库存成本金额
     */
    @JsonSerialize(using = CustomDoubleSerialize.class)
    private Double costAmount;

    /**
     * 估算销售金额
     */
    @JsonSerialize(using = CustomDoubleSerialize.class)
    private Double salesAmount;

}
